/*
 * Copyright 2025 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.samples.apps.nowinandroid.demo.model

data class MovieList(
    // 表示请求是否成功，"True" 或 "False"
    val Response: String,
    // 搜索结果的总数
    val totalResults: String,
    // 电影列表
    val Search: List<MovieSummary>
)

data class MovieSummary(
    // 电影标题
    val Title: String,
    // 电影发行年份
    val Year: String,
    // 电影的 IMDB ID
    val imdbID: String,
    // 电影类型（如 "movie", "series" 等）
    val Type: String,
    // 电影海报的 URL
    val Poster: String
)